// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from "vue";
import App from "./App";
import router from "./router";

Vue.config.productionTip = false;

import {
  Pagination,
  Table,
  TableColumn,
  Button,
  Container,
  Header,
  Aside,
  Main,
  Menu,
  Submenu,
  MenuItem,
  MenuItemGroup,
  Select,
  Input,
  Form,
  FormItem,
  Option,
  Dialog,
  Upload
} from "element-ui";
Vue.use(Upload)
Vue.use(Dialog)
Vue.use(Input);
Vue.use(Option)
Vue.use(FormItem)
Vue.use(Form);
Vue.use(Pagination);
Vue.use(Button);
Vue.use(Menu);
Vue.use(Submenu);
Vue.use(MenuItem);
Vue.use(MenuItemGroup);
Vue.use(Select);
Vue.use(Header);
Vue.use(Aside);
Vue.use(Main);
Vue.use(Container);
Vue.use(Table);
Vue.use(TableColumn);

import VueQuillEditor from 'vue-quill-editor'

import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css' 
import 'quill/dist/quill.bubble.css'

Vue.use(VueQuillEditor, /* { default global options } */)

new Vue({
  el: "#app",
  router,
  components: { App },
  template: "<App/>"
});
